﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Configuration;
using System.Data.SqlClient;

namespace Pcb.Common
{
    /// <summary>
    /// WebConfig文件有关
    /// </summary>
    public class _WebConfig
    {
        /// <summary>
        /// 获取 web.config 中， appSettings 下的字符串
        /// </summary>
        /// <param name="key"> Key </param>
        /// <returns></returns>
        public static string GetAppSettingsString(string key)
        {
            return ConfigurationManager.AppSettings[key];
        }

      
    }
}
